POV-Ray : Newsgroups : povray.binaries.images : Odd Transformation : Odd Transformation Server Time
20 Nov 2024 06:24:25 EST (-0500)
  Odd Transformation  
From: Ghost
Date: 16 Jul 2003 09:33:12
Message: <3F1553EE.ED12B0C7@duratechindustries.net>
Hi all.  Can someone help me understand why my translated and rotated
grass would suddenly become airborne?  According to the Pov code, there
is no transformation on the y-axis, and I don't ever rotate it upwards
or downwards, either.  Attached is the picture and below is the
pertinent code for the grass circle.

#declare Rad=10;
#declare R_V=0;
#declare R3 = seed (27143);
#declare R4 = seed (R3);
#declare Offset1=-67+rand(R2)*6.357;

#while(Rad > 0)
  #local R_V = 0;
  #while(R_V<360)
    object{ Blade
      translate rand(R4)*1.5+z*Rad
      rotate y*R_V
    }
    #local R_V = R_V+300/Rad/10;
  #end
  #local Rad = Rad - 0.5;
#end


Post a reply to this message


Attachments:
Download 'gardenborder.jpg' (51 KB)

Preview of image 'gardenborder.jpg'
gardenborder.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.